Optimal. Leaf size=455 \[ -\frac {b c d x^2 \sqrt {c d x+d} \sqrt {e-c e x} \left (a+b \sin ^{-1}(c x)\right )}{2 \sqrt {1-c^2 x^2}}+\frac {2 b d x \sqrt {c d x+d} \sqrt {e-c e x} \left (a+b \sin ^{-1}(c x)\right )}{3 \sqrt {1-c^2 x^2}}+\frac {d \sqrt {c d x+d} \sqrt {e-c e x} \left (a+b \sin ^{-1}(c x)\right )^3}{6 b c \sqrt {1-c^2 x^2}}-\frac {d \left (1-c^2 x^2\right ) \sqrt {c d x+d} \sqrt {e-c e x} \left (a+b \sin ^{-1}(c x)\right )^2}{3 c}-\frac {2 b c^2 d x^3 \sqrt {c d x+d} \sqrt {e-c e x} \left (a+b \sin ^{-1}(c x)\right )}{9 \sqrt {1-c^2 x^2}}+\frac {1}{2} d x \sqrt {c d x+d} \sqrt {e-c e x} \left (a+b \sin ^{-1}(c x)\right )^2+\frac {2 b^2 d \left (1-c^2 x^2\right ) \sqrt {c d x+d} \sqrt {e-c e x}}{27 c}+\frac {b^2 d \sqrt {c d x+d} \sqrt {e-c e x} \sin ^{-1}(c x)}{4 c \sqrt {1-c^2 x^2}}-\frac {1}{4} b^2 d x \sqrt {c d x+d} \sqrt {e-c e x}+\frac {4 b^2 d \sqrt {c d x+d} \sqrt {e-c e x}}{9 c} \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.57, antiderivative size = 455, normalized size of antiderivative = 1.00, number of steps used = 13, number of rules used = 11, integrand size = 32, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.344, Rules used = {4673, 4763, 4647, 4641, 4627, 321, 216, 4677, 4645, 444, 43} \[ -\frac {2 b c^2 d x^3 \sqrt {c d x+d} \sqrt {e-c e x} \left (a+b \sin ^{-1}(c x)\right )}{9 \sqrt {1-c^2 x^2}}-\frac {b c d x^2 \sqrt {c d x+d} \sqrt {e-c e x} \left (a+b \sin ^{-1}(c x)\right )}{2 \sqrt {1-c^2 x^2}}+\frac {2 b d x \sqrt {c d x+d} \sqrt {e-c e x} \left (a+b \sin ^{-1}(c x)\right )}{3 \sqrt {1-c^2 x^2}}+\frac {d \sqrt {c d x+d} \sqrt {e-c e x} \left (a+b \sin ^{-1}(c x)\right )^3}{6 b c \sqrt {1-c^2 x^2}}-\frac {d \left (1-c^2 x^2\right ) \sqrt {c d x+d} \sqrt {e-c e x} \left (a+b \sin ^{-1}(c x)\right )^2}{3 c}+\frac {1}{2} d x \sqrt {c d x+d} \sqrt {e-c e x} \left (a+b \sin ^{-1}(c x)\right )^2+\frac {2 b^2 d \left (1-c^2 x^2\right ) \sqrt {c d x+d} \sqrt {e-c e x}}{27 c}+\frac {b^2 d \sqrt {c d x+d} \sqrt {e-c e x} \sin ^{-1}(c x)}{4 c \sqrt {1-c^2 x^2}}-\frac {1}{4} b^2 d x \sqrt {c d x+d} \sqrt {e-c e x}+\frac {4 b^2 d \sqrt {c d x+d} \sqrt {e-c e x}}{9 c} \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 43
Rule 216
Rule 321
Rule 444
Rule 4627
Rule 4641
Rule 4645
Rule 4647
Rule 4673
Rule 4677
Rule 4763
Rubi steps
\begin {align*} \int (d+c d x)^{3/2} \sqrt {e-c e x} \left (a+b \sin ^{-1}(c x)\right )^2 \, dx &=\frac {\left (\sqrt {d+c d x} \sqrt {e-c e x}\right ) \int (d+c d x) \sqrt {1-c^2 x^2} \left (a+b \sin ^{-1}(c x)\right )^2 \, dx}{\sqrt {1-c^2 x^2}}\\ &=\frac {\left (\sqrt {d+c d x} \sqrt {e-c e x}\right ) \int \left (d \sqrt {1-c^2 x^2} \left (a+b \sin ^{-1}(c x)\right )^2+c d x \sqrt {1-c^2 x^2} \left (a+b \sin ^{-1}(c x)\right )^2\right ) \, dx}{\sqrt {1-c^2 x^2}}\\ &=\frac {\left (d \sqrt {d+c d x} \sqrt {e-c e x}\right ) \int \sqrt {1-c^2 x^2} \left (a+b \sin ^{-1}(c x)\right )^2 \, dx}{\sqrt {1-c^2 x^2}}+\frac {\left (c d \sqrt {d+c d x} \sqrt {e-c e x}\right ) \int x \sqrt {1-c^2 x^2} \left (a+b \sin ^{-1}(c x)\right )^2 \, dx}{\sqrt {1-c^2 x^2}}\\ &=\frac {1}{2} d x \sqrt {d+c d x} \sqrt {e-c e x} \left (a+b \sin ^{-1}(c x)\right )^2-\frac {d \sqrt {d+c d x} \sqrt {e-c e x} \left (1-c^2 x^2\right ) \left (a+b \sin ^{-1}(c x)\right )^2}{3 c}+\frac {\left (d \sqrt {d+c d x} \sqrt {e-c e x}\right ) \int \frac {\left (a+b \sin ^{-1}(c x)\right )^2}{\sqrt {1-c^2 x^2}} \, dx}{2 \sqrt {1-c^2 x^2}}+\frac {\left (2 b d \sqrt {d+c d x} \sqrt {e-c e x}\right ) \int \left (1-c^2 x^2\right ) \left (a+b \sin ^{-1}(c x)\right ) \, dx}{3 \sqrt {1-c^2 x^2}}-\frac {\left (b c d \sqrt {d+c d x} \sqrt {e-c e x}\right ) \int x \left (a+b \sin ^{-1}(c x)\right ) \, dx}{\sqrt {1-c^2 x^2}}\\ &=\frac {2 b d x \sqrt {d+c d x} \sqrt {e-c e x} \left (a+b \sin ^{-1}(c x)\right )}{3 \sqrt {1-c^2 x^2}}-\frac {b c d x^2 \sqrt {d+c d x} \sqrt {e-c e x} \left (a+b \sin ^{-1}(c x)\right )}{2 \sqrt {1-c^2 x^2}}-\frac {2 b c^2 d x^3 \sqrt {d+c d x} \sqrt {e-c e x} \left (a+b \sin ^{-1}(c x)\right )}{9 \sqrt {1-c^2 x^2}}+\frac {1}{2} d x \sqrt {d+c d x} \sqrt {e-c e x} \left (a+b \sin ^{-1}(c x)\right )^2-\frac {d \sqrt {d+c d x} \sqrt {e-c e x} \left (1-c^2 x^2\right ) \left (a+b \sin ^{-1}(c x)\right )^2}{3 c}+\frac {d \sqrt {d+c d x} \sqrt {e-c e x} \left (a+b \sin ^{-1}(c x)\right )^3}{6 b c \sqrt {1-c^2 x^2}}-\frac {\left (2 b^2 c d \sqrt {d+c d x} \sqrt {e-c e x}\right ) \int \frac {x \left (1-\frac {c^2 x^2}{3}\right )}{\sqrt {1-c^2 x^2}} \, dx}{3 \sqrt {1-c^2 x^2}}+\frac {\left (b^2 c^2 d \sqrt {d+c d x} \sqrt {e-c e x}\right ) \int \frac {x^2}{\sqrt {1-c^2 x^2}} \, dx}{2 \sqrt {1-c^2 x^2}}\\ &=-\frac {1}{4} b^2 d x \sqrt {d+c d x} \sqrt {e-c e x}+\frac {2 b d x \sqrt {d+c d x} \sqrt {e-c e x} \left (a+b \sin ^{-1}(c x)\right )}{3 \sqrt {1-c^2 x^2}}-\frac {b c d x^2 \sqrt {d+c d x} \sqrt {e-c e x} \left (a+b \sin ^{-1}(c x)\right )}{2 \sqrt {1-c^2 x^2}}-\frac {2 b c^2 d x^3 \sqrt {d+c d x} \sqrt {e-c e x} \left (a+b \sin ^{-1}(c x)\right )}{9 \sqrt {1-c^2 x^2}}+\frac {1}{2} d x \sqrt {d+c d x} \sqrt {e-c e x} \left (a+b \sin ^{-1}(c x)\right )^2-\frac {d \sqrt {d+c d x} \sqrt {e-c e x} \left (1-c^2 x^2\right ) \left (a+b \sin ^{-1}(c x)\right )^2}{3 c}+\frac {d \sqrt {d+c d x} \sqrt {e-c e x} \left (a+b \sin ^{-1}(c x)\right )^3}{6 b c \sqrt {1-c^2 x^2}}+\frac {\left (b^2 d \sqrt {d+c d x} \sqrt {e-c e x}\right ) \int \frac {1}{\sqrt {1-c^2 x^2}} \, dx}{4 \sqrt {1-c^2 x^2}}-\frac {\left (b^2 c d \sqrt {d+c d x} \sqrt {e-c e x}\right ) \operatorname {Subst}\left (\int \frac {1-\frac {c^2 x}{3}}{\sqrt {1-c^2 x}} \, dx,x,x^2\right )}{3 \sqrt {1-c^2 x^2}}\\ &=-\frac {1}{4} b^2 d x \sqrt {d+c d x} \sqrt {e-c e x}+\frac {b^2 d \sqrt {d+c d x} \sqrt {e-c e x} \sin ^{-1}(c x)}{4 c \sqrt {1-c^2 x^2}}+\frac {2 b d x \sqrt {d+c d x} \sqrt {e-c e x} \left (a+b \sin ^{-1}(c x)\right )}{3 \sqrt {1-c^2 x^2}}-\frac {b c d x^2 \sqrt {d+c d x} \sqrt {e-c e x} \left (a+b \sin ^{-1}(c x)\right )}{2 \sqrt {1-c^2 x^2}}-\frac {2 b c^2 d x^3 \sqrt {d+c d x} \sqrt {e-c e x} \left (a+b \sin ^{-1}(c x)\right )}{9 \sqrt {1-c^2 x^2}}+\frac {1}{2} d x \sqrt {d+c d x} \sqrt {e-c e x} \left (a+b \sin ^{-1}(c x)\right )^2-\frac {d \sqrt {d+c d x} \sqrt {e-c e x} \left (1-c^2 x^2\right ) \left (a+b \sin ^{-1}(c x)\right )^2}{3 c}+\frac {d \sqrt {d+c d x} \sqrt {e-c e x} \left (a+b \sin ^{-1}(c x)\right )^3}{6 b c \sqrt {1-c^2 x^2}}-\frac {\left (b^2 c d \sqrt {d+c d x} \sqrt {e-c e x}\right ) \operatorname {Subst}\left (\int \left (\frac {2}{3 \sqrt {1-c^2 x}}+\frac {1}{3} \sqrt {1-c^2 x}\right ) \, dx,x,x^2\right )}{3 \sqrt {1-c^2 x^2}}\\ &=\frac {4 b^2 d \sqrt {d+c d x} \sqrt {e-c e x}}{9 c}-\frac {1}{4} b^2 d x \sqrt {d+c d x} \sqrt {e-c e x}+\frac {2 b^2 d \sqrt {d+c d x} \sqrt {e-c e x} \left (1-c^2 x^2\right )}{27 c}+\frac {b^2 d \sqrt {d+c d x} \sqrt {e-c e x} \sin ^{-1}(c x)}{4 c \sqrt {1-c^2 x^2}}+\frac {2 b d x \sqrt {d+c d x} \sqrt {e-c e x} \left (a+b \sin ^{-1}(c x)\right )}{3 \sqrt {1-c^2 x^2}}-\frac {b c d x^2 \sqrt {d+c d x} \sqrt {e-c e x} \left (a+b \sin ^{-1}(c x)\right )}{2 \sqrt {1-c^2 x^2}}-\frac {2 b c^2 d x^3 \sqrt {d+c d x} \sqrt {e-c e x} \left (a+b \sin ^{-1}(c x)\right )}{9 \sqrt {1-c^2 x^2}}+\frac {1}{2} d x \sqrt {d+c d x} \sqrt {e-c e x} \left (a+b \sin ^{-1}(c x)\right )^2-\frac {d \sqrt {d+c d x} \sqrt {e-c e x} \left (1-c^2 x^2\right ) \left (a+b \sin ^{-1}(c x)\right )^2}{3 c}+\frac {d \sqrt {d+c d x} \sqrt {e-c e x} \left (a+b \sin ^{-1}(c x)\right )^3}{6 b c \sqrt {1-c^2 x^2}}\\ \end {align*}
________________________________________________________________________________________
Mathematica [A] time = 2.01, size = 437, normalized size = 0.96 \[ \frac {d \sqrt {c d x+d} \sqrt {e-c e x} \left (12 \left (3 a^2 \sqrt {1-c^2 x^2} \left (2 c^2 x^2+3 c x-2\right )-4 a b c x \left (c^2 x^2-3\right )+9 b^2 \sqrt {1-c^2 x^2}\right )+54 a b \cos \left (2 \sin ^{-1}(c x)\right )-27 b^2 \sin \left (2 \sin ^{-1}(c x)\right )+4 b^2 \cos \left (3 \sin ^{-1}(c x)\right )\right )-108 a^2 d^{3/2} \sqrt {e} \sqrt {1-c^2 x^2} \tan ^{-1}\left (\frac {c x \sqrt {c d x+d} \sqrt {e-c e x}}{\sqrt {d} \sqrt {e} \left (c^2 x^2-1\right )}\right )-18 b d \sqrt {c d x+d} \sqrt {e-c e x} \sin ^{-1}(c x)^2 \left (-6 a+3 b \sqrt {1-c^2 x^2}-3 b \sin \left (2 \sin ^{-1}(c x)\right )+b \cos \left (3 \sin ^{-1}(c x)\right )\right )+6 b d \sqrt {c d x+d} \sqrt {e-c e x} \sin ^{-1}(c x) \left (2 \left (12 a c^2 x^2 \sqrt {1-c^2 x^2}-12 a \sqrt {1-c^2 x^2}+9 a \sin \left (2 \sin ^{-1}(c x)\right )+9 b c x+b \sin \left (3 \sin ^{-1}(c x)\right )\right )+9 b \cos \left (2 \sin ^{-1}(c x)\right )\right )+36 b^2 d \sqrt {c d x+d} \sqrt {e-c e x} \sin ^{-1}(c x)^3}{216 c \sqrt {1-c^2 x^2}} \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
fricas [F] time = 0.42, size = 0, normalized size = 0.00 \[ {\rm integral}\left ({\left (a^{2} c d x + a^{2} d + {\left (b^{2} c d x + b^{2} d\right )} \arcsin \left (c x\right )^{2} + 2 \, {\left (a b c d x + a b d\right )} \arcsin \left (c x\right )\right )} \sqrt {c d x + d} \sqrt {-c e x + e}, x\right ) \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
giac [F(-2)] time = 0.00, size = 0, normalized size = 0.00 \[ \text {Exception raised: RuntimeError} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maple [F] time = 0.31, size = 0, normalized size = 0.00 \[ \int \left (c d x +d \right )^{\frac {3}{2}} \left (a +b \arcsin \left (c x \right )\right )^{2} \sqrt {-c e x +e}\, dx \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maxima [F] time = 0.00, size = 0, normalized size = 0.00 \[ \frac {1}{6} \, {\left (3 \, \sqrt {-c^{2} d e x^{2} + d e} d x + \frac {3 \, d^{2} e \arcsin \left (c x\right )}{\sqrt {d e} c} - \frac {2 \, {\left (-c^{2} d e x^{2} + d e\right )}^{\frac {3}{2}}}{c e}\right )} a^{2} + \sqrt {d} \sqrt {e} \int {\left ({\left (b^{2} c d x + b^{2} d\right )} \arctan \left (c x, \sqrt {c x + 1} \sqrt {-c x + 1}\right )^{2} + 2 \, {\left (a b c d x + a b d\right )} \arctan \left (c x, \sqrt {c x + 1} \sqrt {-c x + 1}\right )\right )} \sqrt {c x + 1} \sqrt {-c x + 1}\,{d x} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
mupad [F] time = 0.00, size = -1, normalized size = -0.00 \[ \int {\left (a+b\,\mathrm {asin}\left (c\,x\right )\right )}^2\,{\left (d+c\,d\,x\right )}^{3/2}\,\sqrt {e-c\,e\,x} \,d x \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
sympy [F] time = 0.00, size = 0, normalized size = 0.00 \[ \int \left (d \left (c x + 1\right )\right )^{\frac {3}{2}} \sqrt {- e \left (c x - 1\right )} \left (a + b \operatorname {asin}{\left (c x \right )}\right )^{2}\, dx \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________